package sms

type smsInvokeRes[T any] struct {
	Success bool `json:"success"`
	Data    *T
}

type smsErrorRes struct {
	Success bool   `json:"success"`
	Code    int    `json:"code"`
	Msg     string `json:"msg"`
}

type SmsClient struct {
	endpoint string
}

func NewClient(endpoint string) *SmsClient {
	return &SmsClient{
		endpoint: endpoint,
	}
}
